module.exports = function($scope, $resource, $q, $http, what){

	console.log('list');

	//var what = $stateParams.what;

	$scope.active = {
		'selling' : true,
		'warehouse' : false,
	}

	if(what == 'create'){
		$scope.active.selling = false;
		$scope.active.warehouse = true;
	}


	$scope.count1 = 0;
	$scope.count2 = 0;


	$scope.load1 = function(){};
	$scope.load2 = function(){};


};
